package com.ruoyi.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学员试卷对象 sys_course_student_paper
 * 
 * @author YJF
 * @date 2023-05-31
 */
public class SysStudentPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学员试卷ID */
    private Long studentPaperId;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long courseNo;

    /** 课程试卷ID */
    @Excel(name = "课程试卷ID")
    private Long coursePaperId;

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer statusStatus;

    /** 总分 */
    @Excel(name = "总分")
    private String score;

    /** 考试时长 */
    @Excel(name = "考试时长")
    private Long elapsedTime;

    /** 备注 */
    @Excel(name = "备注")
    private String paperRemark;

    /** 删除标志0代表存在 2代表删除 */
    private String delFlag;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 学员昵称 */
    @Excel(name = "学员昵称")
    private String nickName;
    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String paperName;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 试卷分类 */
    @Excel(name = "试卷分类")
    private Integer paperType;

    /** 考试时长 */
    @Excel(name = "考试时长")
    private String elapsedTimeStr;

    public String getElapsedTimeStr() {
        return elapsedTimeStr;
    }

    public void setElapsedTimeStr(String elapsedTimeStr) {
        this.elapsedTimeStr = elapsedTimeStr;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public Integer getPaperType() {
        return paperType;
    }

    public void setPaperType(Integer paperType) {
        this.paperType = paperType;
    }

    public void setStudentPaperId(Long studentPaperId)
    {
        this.studentPaperId = studentPaperId;
    }

    public Long getStudentPaperId() 
    {
        return studentPaperId;
    }

    public Long getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Long courseNo) {
        this.courseNo = courseNo;
    }

    public void setCoursePaperId(Long coursePaperId)
    {
        this.coursePaperId = coursePaperId;
    }

    public Long getCoursePaperId() 
    {
        return coursePaperId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatusStatus(Integer statusStatus) 
    {
        this.statusStatus = statusStatus;
    }

    public Integer getStatusStatus() 
    {
        return statusStatus;
    }
    public void setScore(String score) 
    {
        this.score = score;
    }

    public String getScore() 
    {
        return score;
    }
    public void setElapsedTime(Long elapsedTime) 
    {
        this.elapsedTime = elapsedTime;
    }

    public Long getElapsedTime() 
    {
        return elapsedTime;
    }
    public void setPaperRemark(String paperRemark) 
    {
        this.paperRemark = paperRemark;
    }

    public String getPaperRemark() 
    {
        return paperRemark;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setBeginTime(Date beginTime) 
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime() 
    {
        return beginTime;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentPaperId", getStudentPaperId())
            .append("courseNo", getCourseNo())
            .append("coursePaperId", getCoursePaperId())
            .append("userId", getUserId())
            .append("statusStatus", getStatusStatus())
            .append("score", getScore())
            .append("elapsedTime", getElapsedTime())
            .append("paperRemark", getPaperRemark())
            .append("delFlag", getDelFlag())
            .append("beginTime", getBeginTime())
            .append("finishTime", getFinishTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
